package com.rabbit.db.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * <h1>参数表</h1>
 *
 * @author zjw
 * @date 2022/1/21 14:51
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Table(name = "t_config")
public class Config {

    /**
     * 参数编号
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long configId;

    /**
     * 参数名称
     */
    private String configName;

    /**
     * 参数Key
     */
    private String configKey;

    /**
     * 参数Value
     */
    private String configValue;

    /**
     * 备注
     */
    private String remark;

    /**
     * 创建者
     */
    private String createBy;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新者
     */
    private String updateBy;

    /**
     * 更新时间
     */
    private Date updateTime;

}
